package com.gzx.bi.modular.repayment.subsidiary.vo;

import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import com.gzx.bi.modular.repayment.subsidiary.entity.GzxRepaymentSubsidiary;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author zjt
 * @description
 * @date 2025/4/14 14:42
 */
@Data
@AutoMapper(target = GzxRepaymentSubsidiary.class)
public class GzxRepaymentSubsidiaryVo implements TransPojo {

    private Long id;

    @Trans(type = TransType.DICTIONARY, key = "project", ref = "projectName")
    private String projectCode;

    private String projectName;

    private String batch;

    private String repaymentDate;

    private BigDecimal repaymentAmount;

    @Trans(type = TransType.RPC, targetClassName = "vip.xiaonuo.sys.modular.org.entity.SysOrg", fields = "name", alias = "deptId", ref = "deptName", serviceName = "snowy-web-app")
    private String deptId;

    private String deptName;
}
